package tk.xboot.flink.cep.le;

import java.io.Serializable;

/**
 * Define a login event bean to describe the event.
 */
public class LoginEvent  implements Serializable {
    private String userId;
    private String ip ;
    private String type;



    public LoginEvent(){}

    public LoginEvent(String userId, String ip, String type) {
        this.userId = userId;
        this.ip = ip;
        this.type = type;
    }


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "userId:" + userId + " type:" + type + " Ip:" + ip;
    }
}
